package com.jright.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jright.dao.TeacherDao;
import com.jright.po.Teacher;
import com.jright.service.TeacherService;
@Service("teacherService")
public class TeacherServiceImpl implements TeacherService{

	@Autowired
	private TeacherDao teacherDao;
	
	@Override
	public Teacher findTeacher(String no, String password, String position) {
		// TODO Auto-generated method stub
		return this.teacherDao.findTeacher(no, password, position);
	}

	@Override
	public Teacher findTeacherByNo(String no) {
		// TODO Auto-generated method stub
		return this.teacherDao.findTeacherByNo(no);
	}

	@Override
	public void updateIspost(String no) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<Teacher> findPostTeacher() {
		// TODO Auto-generated method stub
		return this.teacherDao.findPostTeacher();
	}

}
